package com.qdlc.p2p.dal.dao;

import com.qdlc.p2p.dal.common.dao.BaseDao;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.ScoreLotteryRecord;
import com.qdlc.p2p.dal.model.ScoreLotteryRecordModel;

/**
 * 积分抽奖记录Dao
 */
public interface ScoreLotteryRecordDao extends BaseDao<ScoreLotteryRecord> {
	
	/**
	 * 获取积分抽奖记录分页数据
	 * @return
	 */
	PageDataList<ScoreLotteryRecordModel> findPageList(ScoreLotteryRecordModel model);
	
	/**
	 * 按年份获取每月积分抽奖送出现金
	 * @return
	 */
	public double getScoreLotteryMoney(String year, String month);

}
